import myaxios from "../MyAxios";
import URLENV from "@/http/BaseUrl";
const UCURL = URLENV.UCURL
const memberApi = {
    queryDepartment() {
        return myaxios.get(UCURL + '/member/department')
    },
    memberAdd(params) {
        return myaxios.post(UCURL + '/member/add', params)
    },
    memberList() {
        return myaxios.get(UCURL + '/member/list')
    },
    memberDelete(params) {
        return myaxios.post(UCURL + '/member/delete', params)
    },
    memberUpdate(params) {
        return myaxios.post(UCURL + '/member/update', params)
    },
    memberQuery(params) {
        return myaxios.get(UCURL + '/member/query', params)
    },
}
export default memberApi